//
//  CustomButton.m
//  UI_作业05
//
//  Created by dllo on 16/6/8.
//  Copyright © 2016年 zuzhiming. All rights reserved.
//

#import "CustomButton.h"

@implementation CustomButton

+ (instancetype)buttonWithType:(UIButtonType)buttonType Frame:(CGRect)frame BackGroundImage:(UIImage *)backGroundImage
{
    CustomButton *customButton = [CustomButton buttonWithType:buttonType];
    customButton.frame = frame;
    [customButton setImage:backGroundImage forState:UIControlStateNormal];
    
    return customButton;
    
}



@end
